<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>运行配置</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .el-form {
            /* 假设的 Element UI 表单容器类 */
            width: 300px;
            /* 根据需要设置宽度 */
            padding: 20px;
            background-color: #fff;
            border-radius: 4px;
            box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
        }

        .el-form-item {
            /* 假设的 Element UI 表单项容器类 */
            margin-bottom: 20px;
        }

        .el-form-item__label {
            /* 假设的 Element UI 表单项标签类 */
            display: inline-block;
            max-width: 100px;
            text-align: right;
            margin-right: 20px;
            line-height: 36px;
            color: #606266;
        }

        .el-form-item__content {
            /* 假设的 Element UI 表单项内容容器类 */
            display: inline-block;
            line-height: 36px;
            position: relative;
            font-size: 14px;
        }

        .el-input {
            /* 假设的 Element UI 输入框容器类 */
            display: inline-block;
            width: 90%;
            line-height: normal;
        }

        .el-input__inner {
            /* 假设的 Element UI 输入框内部类 */
            display: inline-block;
            width: 90%;
            line-height: 36px;
            padding: 0 15px;
            color: #606266;
            font-size: 14px;
            background-color: #fff;
            background-image: none;
            border: 1px solid #dcdfe6;
            border-radius: 4px;
            transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
        }

        .el-button {
            /* 假设的 Element UI 按钮类 */
            display: inline-block;
            line-height: 1;
            white-space: nowrap;
            cursor: pointer;
            background-color: #409EFF;
            border-color: #409EFF;
            color: #fff;
            -webkit-appearance: none;
            text-align: center;
            box-sizing: border-box;
            outline: none;
            margin: 0;
            transition: .1s;
            font-weight: 500;
            padding: 12px 20px;
            font-size: 14px;
            border-radius: 4px;
        }

        .el-input__inner::-ms-expand {
            display: none;
        }

        .el-input__inner::after {
            content: '▼';
            /* 使用箭头符号 ▼ */
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
        }

        .el-button:hover {
            background-color: #66b1ff;
            border-color: #66b1ff;
            color: #fff;
        }

        .submit {
            text-align: center;
            /* 确保文本居中 */
        }

        .select {
            height: 40px;
            width: 100% !important;
        }
    </style>
</head>

<body>
    <form action="void" class="el-form">
        <div class="el-form-item">
            <label class="el-form-item__label" for="downloadType">下载类型:</label>
            <select class="el-input__inner select" id="downloadType" name="downloadType">
                <option value="searchPage">搜索页爬取</option>
                <option value="bloggerPage">博主页爬取</option>
            </select>
        </div>
        <div class="el-form-item">
            <label class="el-form-item__label" for="catalogue">目录:</label>
            <input class="el-input__inner" type="text" id="catalogue" name="catalogue">
        </div>
        <div class="el-form-item">
            <label class="el-form-item__label" for="keyword">关键字/id:</label>
            <input class="el-input__inner" type="text" id="keyword" name="keyword">
        </div>
        <div class="el-form-item">
            <label class="el-form-item__label" for="server">数据保存服务器:</label>
            <input class="el-input__inner" type="text" value="http://localhost:8090/data" id="server" name="server">
        </div>
        <div class="el-form-item">
            <button type="button" class="el-button submit">开始运行</button>
        </div>
        <div class="el-form-item">
            <button type="button" class="el-button resetCurData">重发本次数据</button>
        </div>
    </form>
    <script src="./index.js"></script>
</body>

</html>